/*
 *  Copyright (c) M2TK Project. All rights reserved.
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */
package m2tk.assistant.app.kernel.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_mpeg_program")
public class MPEGProgramEntity
{
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField("tsid")
    private Integer transportStreamId;
    @TableField("prg_num")
    private Integer programNumber;
    @TableField("pmt_pid")
    private Integer pmtPid;
    @TableField("pcr_pid")
    private Integer pcrPid;
    @TableField("pmt_version")
    private Integer pmtVersion;
    @TableField("is_free_access")
    private Boolean freeAccess;

    public Integer getId()
    {
        return id;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getTransportStreamId()
    {
        return transportStreamId;
    }

    public void setTransportStreamId(Integer transportStreamId)
    {
        this.transportStreamId = transportStreamId;
    }

    public Integer getProgramNumber()
    {
        return programNumber;
    }

    public void setProgramNumber(Integer programNumber)
    {
        this.programNumber = programNumber;
    }

    public Integer getPmtPid()
    {
        return pmtPid;
    }

    public void setPmtPid(Integer pmtPid)
    {
        this.pmtPid = pmtPid;
    }

    public Integer getPcrPid()
    {
        return pcrPid;
    }

    public void setPcrPid(Integer pcrPid)
    {
        this.pcrPid = pcrPid;
    }

    public Integer getPmtVersion()
    {
        return pmtVersion;
    }

    public void setPmtVersion(Integer pmtVersion)
    {
        this.pmtVersion = pmtVersion;
    }

    public Boolean getFreeAccess()
    {
        return freeAccess;
    }

    public void setFreeAccess(Boolean freeAccess)
    {
        this.freeAccess = freeAccess;
    }
}
